import Vue from 'vue'
import Router from 'vue-router'
import Shouye from '@/pages/sy'
// import Sylist from '@/pages/sy-list'
import Dingdan from '@/pages/dingdan'
import Faxian from '@/pages/faxian'
import Wode from '@/pages/wode'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Shouye',
      component: Shouye,
      // children:[
      //   {
      //     path:'/',
      //     name:'sylist',
      //     components:Sylist
      //   }    
      // ]
    },
    {
      path: '/Dingdan',
      name: 'Dingdan',
      component: Dingdan
    },
    {
      path: '/Faxian',
      name: 'Faxian',
      component: Faxian
    },
    {
      path: '/Wode',
      name: 'Wode',
      component: Wode
    },
  ]
})
